import {
    Cell, CellGroup, Button, Tabbar, TabbarItem, Swipe, SwipeItem, Grid, GridItem,
    Divider, NoticeBar, Col, Row, Rate, Tab, Tabs, Icon, List, NavBar, Image as VanImage, Dialog, Toast, Field, Form, Empty, Overlay, Loading, SwipeCell,
    PullRefresh, Lazyload,Popup ,Picker 
} from 'vant';

export default (app) => {
    app.use(Cell)
        .use(CellGroup)
        .use(Button)
        .use(Tabbar)
        .use(TabbarItem)
        .use(Swipe)
        .use(SwipeItem)
        .use(Grid)
        .use(GridItem)
        .use(Divider)
        .use(NoticeBar)
        .use(Tab)
        .use(Tabs)
        .use(Icon)
        .use(List)
        .use(NavBar)
        .use(VanImage)
        .use(Col)
        .use(Row)
        .use(Rate)
        .use(Dialog)
        .use(Toast)
        .use(Field)
        .use(Form)
        .use(Empty)
        .use(Overlay)
        .use(Loading)
        .use(SwipeCell)
        .use(PullRefresh)
        .use(Popup )
        .use(Picker )
        .use(Lazyload, {
            lazyComponent: true,
        });
}